<?php
/**
 * Created by PhpStorm.
 * User: dell
 * Date: 2017/6/26
 * Time: 17:07
 */

namespace Weixin\Response;


use Common\Common\Response;

class FindConfigResponse extends Response
{
    private $is_token_null = false;
    private $is_appid_null = false;
    private $is_appsecret_null = false;
    private $is_encodingaeskey_null = false;
    private $token;
    private $appid;
    private $appsecret;
    private $encodingaeskey;

    public function setTokenNull()
    {
        $this->is_token_null = true;
    }

    public function setAppIdNull()
    {
        $this->is_appid_null = true;
    }

    public function setAppSecretNull()
    {
        $this->is_appsecret_null = true;
    }

    public function setEncodingaeskeyNull()
    {
        $this->is_encodingaeskey_null = true;
    }

    public function getTokenNull()
    {
        return $this->is_token_null;
    }

    public function getAppIdNull()
    {
        return $this->is_appid_null;
    }

    public function getAppSecretNull()
    {
        return $this->is_appsecret_null;
    }

    public function getEncodingaeskeyNull()
    {
        return $this->is_encodingaeskey_null;
    }

    public function setToken($token)
    {
        $this->token = $token;
    }

    public function setAppId($appid)
    {
        $this->appid = $appid;
    }

    public function setAppSecret($appsecret)
    {
        $this->appsecret = $appsecret;
    }

    public function setEncodingaeskey($encodingaeskey)
    {
        $this->encodingaeskey = $encodingaeskey;
    }

    public function getToken()
    {
        return $this->token;
    }

    public function getAppId()
    {
        return $this->appid;
    }

    public function getAppSecret()
    {
        return $this->appsecret;
    }

    public function getEncodingaeskey($encodingaeskey)
    {
        return $this->encodingaeskey;
    }
}